package com.yukefms.engine.interfaces;

import com.yukefms.jointpoint.BodyPointCloud;

/**
 * the reader defined functions for controlling reading pointCloud.
 */
public interface PointCloudReader {

    /**
     *  check if the read is end of its reading task.
     * @return
     */
    public boolean ended() ;

    /**
     * stop the reading task.
     */
    public void stop() ;

    /**
     * start the reading task
     */
    public void start() ;

    /**
     * read the next group of body points
     * @return
     */
    public BodyPointCloud next() ;

}
